package com.ruoyi.web.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.domain.Policy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 地区映射接口
 */

@Mapper
public interface PolicyMapper extends BaseMapper<Policy> {


    /**
     * 使用地区，查询当地的所有防疫政策
     * @param id
     * @return
     */
    public List<Policy> selectAllByDictIdPolicies(@Param("dictId") int id);



}
